window.dose = {
    records: [
        { date: new Date("2019-03-01T8:00"), amount: "4.9" },
        { date: new Date("2019-03-01T12:00"), amount: "5.1" },
        { date: new Date("2019-03-01T18:00"), amount: "9.9" },
        { date: new Date("2019-03-02T9:00"), amount: "12.9" },
        { date: new Date("2019-03-02T12:00"), amount: "3.9" },
        { date: new Date("2019-03-02T18:00"), amount: "5.9" },
        { date: new Date("2019-03-03T08:00"), amount: "9.9" },
        { date: new Date("2019-03-03T18:00"), amount: "7.9" },
        { date: new Date("2019-03-03T19:00"), amount: "6.9" }
    ],

    infusionStopped: false,
    infusionStopAt: null,
    // 三餐预设
    preset:{
        breakfast: 4.9,
        lunch: 5.1,
        dinner: 5.2
    },
    menus:{
        fb: true,
        sb: true,
        xd: false
    },
    squareWare:{
        createAt: null,
        tasking: false,
        amount: 0,
        minutes: 0
    },
    totalAmount: 310, // 总共有多少的胰岛素,默认浓度100U，如果切换浓度则需要转换公式

    remainingAmount: 180, // 胰岛素剩余量,默认浓度100U，如果切换浓度则需要转换公式
}